CONTROL.CONTAINER_GET Function

Syntax

Container as C = .CONTAINER_GET()

Description

Returns the name of the control's container.

Discussion

The .CONTAINER_GET() method returns the name of the control's container. The method returns NULL ("") unless the control is placed within a container within the form. The method is useful when using tabbed controls and frames.

Example

dim ptr as P
dim fld as P
ptr = form.load("customerx")
fld = ptr.child("Fullname")
? fld.Container_Get()  -> "TABBED1.tabs.sheet[2]"

Limitations

Desktop applications only.

See Also